import {getToken} from "../request/auth";
import {reqVerifyAuthToken} from "../api/login";

//reqVerifyAuthToken

export function isAuthenticated() {

    // const token = getToken();
// console.log(token);
    // return _getCookie("token");
    return "123";
}

function _getCookie(name) {
    const token = getToken();
    reqVerifyAuthToken({token: token}).then(() => {

            return "123";

        }
    );
    return ''
}
